int
truncates its argument by conversion to an integer. If the
argument is a matrix then the int
operation is performed on an
element-by-element basis.
Because is not an arbitrary precision system, you may
occasionally be surprised by the results of this function, as shown in
the example below, where we can `truncate' out input of
1.9999999999999999 to 2, which is how it is stored internally.